home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970626-19970929
/
000021_news@newsmaster….columbia.edu _Sat Jul 5 12:37:28 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA02823
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 5 Jul 1997 12:37:28 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA04763
for kermit.misc@watsun; Sat, 5 Jul 1997 12:37:27 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: using telnet and MS-Kermit
Date: 5 Jul 1997 16:37:27 GMT
Organization: Columbia University
Lines: 29
Message-ID: <5plt87$4kp$1@newsmaster.cc.columbia.edu>
References: <31dabc20.0@dcez3.nicom.com> <5pgrmd$d4b$1@newsmaster.cc.columbia.edu> <uu3i8mwgy.fsf@donal.kintailrd>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:7266
In article <uu3i8mwgy.fsf@donal.kintailrd>,
Bruce Cook <BC3-AU@bigfoot.com> wrote:
: fdc@watsun.cc.columbia.edu (Frank da Cruz) writes:
: > If you can make a Telnet connection with MS-DOS Kermit by hand, then
: > you can do it in a script:
: >
: > ; Give TCP/IP setup commands here
: > set port tcp xyzcorp.com
: > pause 0
: > if fail stop 1 Can't make connection
: >
: > This is equivalent to the following in C-Kermit or K95:
: >
: > set network type tcp/ip
: > set set host xyzcorp.com
: > if fail stop 1 Can't make connection
:
: Alternative that works in either (pre-defined script):
:
: telnet xyzcorp.com
:
TELNET is not a built-in command in MS-DOS Kermit. It's a
macro that is defined only if the user executed the standard
MSKERMIT.INI file. And TELNET includes an implied CONNECT,
which is not always what you want in a script program. In
fact, using TELNET rather than SET HOST (or SET PORT TCP) in
a login script is the most common script-writing error.
- Frank